from pms.common.views import PostFormula
from technology.utils.list import all_technologies


class API(PostFormula):
    def handle(self, req):
        techs = all_technologies().values('id', 'name')
        return self.success_respond({
            'list': list(techs)
        })
